//
//  Student.m
//  Test
//
//  Created by 周启睿 on 2020/6/9.
//  Copyright © 2020 周启睿. All rights reserved.
//

#import "Student.h"

@implementation Student

+ (instancetype)ModelWithName:(NSString*)name grade:(long long)grade{
    Student* obj = [[Student alloc] init];
    obj.name = name;
    obj.grade = grade;
    return obj;
}

- (NSString*)description{
    return [NSString stringWithFormat:@"%@-分数%lld",self.name,self.grade];
}
@end
